package com.atguigu.eduorder.Client.hystrix;

import com.atguigu.commonutils.OrderVo.OrderMember;
import com.atguigu.eduorder.Client.UcenterClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author cyt
 * @create 2020-06-04 0:33
 */
@Slf4j
@Component
public class UcentImpl  implements UcenterClient {

    @Override
    public OrderMember getOrderMember(String id) {
        log.info("查询会员信息失败回调 ");
        return new OrderMember();
    }
}
